GUI Help > General > setGadgetDefaults

setGadgetDefaults
setGadgetDefaults bool visible

Description:
Sets the default options which gadgets have when they are created. At the moment, this is limited to changing whether they are visible or hidden when first created.

Return Value:


Parameters:
visible If 0, gadgets will be hidden when created, and can be shown using setGadgetVisible. If 1, gadgets will be visible when created.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)